<%--
    Document   : popuptemplate
    Created on : Jun 4, 2012, 2:47:19 PM
    Author     : ems
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="../css/popup.css"/>
        <script type="text/javascript" language="javascript" src="../scripts/jQuery/pushscreen.js"></script>

    </head>
    <script type="text/javascript" language="javascript">
        $j = jQuery.noConflict();
        $j(document).ready(function(){          
        });
    </script>
    <style type="text/css">
    </style>
    <body style=" float:left; width:auto; height:auto; margin:0px;">
        <f:view>
            <a4j:form id="group">
                 <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>
                <div class="popup" style="height:425px; width:739px">
                    <div class="popup-header">
                        <div class="title"><h:outputText value="Danh sách nhân viên"/></div>
                    </div>
                    <div class="popup-content">
                        <div class="main_content" style="height:350px">
                         
                        </div>
                    </div>
                    <div class="popup-footer">
                        
                        <div class="buttonsave" onclick="jQuery.fancybox.close(); "  ><span><h:outputText value="#{locale.close}"/></span></div>
                    <%--    <div class="buttonsave" onclick="saveEmployeeToGroup()"> <span><h:outputText value="#{locale.save}"></h:outputText></span></div> --%>

                    </div>
                </div>
            </a4j:form>
        </f:view>

    </body>
</html>
<script type="text/javascript">
    $j(document).ready(function(){
        yhight = ($j('.popup').height()-90)+"px" ;
        $j('.main_content').css('height',yhight );
        $j('.popup_content').css('height',yhight  );
    });
//    function saveEmployeeToGroup() {
//        var idemploy = "";
//        showPleaseWait();
//        var pn450=$j('#group\\:pn450').val();
//        $j('.desNameItem').each(function() {
//            idemploy += $j(this).attr('lang');
//            idemploy += "_";
//        });
//        if(idemploy != "_"){
//            $j.post("groupN450Action.jsp?pn450="+pn450+"&idemploy="+idemploy,function(data){
//                if(data!=null){
//                   
//                    hidePleaseWait();
//                }
//            });
//        }
//    }
</script>